#=================================================
#--- for data structure
import numpy as np

#--- for file manupilate
#from netCDF4 import Dataset
import glob 

#--- for WRF output
from func_gen_ani_map import gen_ani_map 
#=================================================

# Get list of the NetCDF files
dfile_dir = "../../WRF_output/"
fil_prefx = "wrfout_d01_"
dfile_names = sorted(glob.glob(dfile_dir + fil_prefx + "*"))
#df_head_len = len(dfile_dir) + len(fil_prefx)

gen_ani_map(dfile_names, "slp", clmin=1012, clmax=1024, units="hPa", clmap="jet")
